FROM centos:7
FROM openjdk:8
MAINTAINER zWesley <mr.wesley@foxmail.com>
WORKDIR /app

COPY mingli-barcodes/target/barcodes.jar /app/
COPY mingli-gateway/target/gateway.jar /app/
COPY mingli-mail/target/mail.jar /app/
COPY mingli-product/target/product.jar /app/
COPY mingli-upload/target/upload.jar /app/
COPY mingli.sh /app/

EXPOSE 81

CMD ["/app/mingli.sh start"]
